<?php/*
Engineers: Derek Shue
Updated: 11/20/2011
Manage view for super admins, displays user information and control options for each user in table
*/
 ?>
<h3>Your current users:</h3>
<table>
<tr> <th> ID </th> <th> Login Name </th> <th> User Type </th><th> Controls </th><tr>
    <?php foreach ($this->entries as $entry): ?>
    <tr align = "center">
    <td><?php echo $this->escape($entry->ID);?></td>
    <td><?php echo $this->escape($entry->LOGINNAME);?></td>
	<td><?php echo $this->escape($entry->TYPE);?></td>
    <td>
        <a href="<?php echo $this->url(array('controller'=>'admin', 
            'action'=>'edit', 'ID'=>$entry->ID));?>">Edit</a>
        <a href="<?php echo $this->url(array('controller'=>'admin', 
            'action'=>'delete', 'ID'=>$entry->ID));?>">Delete</a>
    </td>
</tr>
    <?php endforeach ?>
</table>

